package com.chuangsi.project.admin.dto.app.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author wangshengming
 * @date 2023/3/30
 */
@Data
public class ResOrderAppletsDetailDto {

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "客户名称")
    private String customName;

    @ApiModelProperty(value = "客户联系方式")
    private String customPhone;

    @ApiModelProperty(value = "客户身份证号")
    private String customIdCard;

    @ApiModelProperty(value = "车架号")
    private String vin;

    @ApiModelProperty(value = "发动机号")
    private String engineNo;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "管理员名称")
    private String nickName;

    @ApiModelProperty(value = "销售金额")
    private BigDecimal money;

    @ApiModelProperty(value = "产品类型（1.原厂代销，2.其他代销，3.传统）")
    private String type;

    @ApiModelProperty(value = "支付类型（1.全款，2.分期）")
    private String payType;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "附件")
    private List<FileDto> fileList;

    @ApiModelProperty(value = "电子签名图片uri")
    private String signUri;

    @ApiModelProperty(value = "是否自己购买")
    private String ourselfBuy;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "审核状态")
    private String appStatus;

    @ApiModelProperty(value = "发票uris(用,隔开)")
    private String invoiceUris;

    @ApiModelProperty(value = "订单类型（1：线上 2：线下）")
    private Integer orderType;

    @ApiModelProperty(value = "支付流水（第三方返回的交易号）")
    private String outTradeNo;

    @ApiModelProperty(value = "线下支付截图，用,隔开")
    private String offlinePayPics;

    @ApiModelProperty(value = "新车发票价格")
    private String carInvoicePrice;
}
